#pragma once
#include "WorldObject.h"
#include <list>

class Ball: public WorldObject {
	public:
		Ball(float r, Location l);
		~Ball();
		virtual SceneRoot* getDrawables(void);
		virtual void update(void);
		virtual int getSize(void);
		virtual Location getLocation(void);
		virtual bool draw(void);
		virtual bool canSplit();
		virtual std::list<WorldObject *> split();
		virtual void setDraw(bool d);
		virtual bool deleteMe(void);
		virtual void setDelete(bool d);
	private:
		Location loc;
		int size;
		// std::list<SceneRoot> shape;
		SceneRoot root;
		bool drawMe;
		bool deleteThis;
};